/* 合并各个模块的reducer,最后创建出一个总代reducer 
        const reducer = combineReducer({
            vote:voteReducer,
            personal:personalReducer
        })
    + reducer:是最后合并的总的reducer
    + 此时容器中的公共状态，会按照我们设置的成员名字，分模块进来管理
    state = {
        personal:{
            num:100,
            info:null
        },
        vote:{
            oppNum:5,
            supNum:10,
            num:0
        }
    }
*/
import {combineReducers} from 'redux'
import voteReducer from './voteReducera'
import personalReducer from './personalReducer'

const reducer = combineReducers({
    vote:voteReducer,
    personal:personalReducer
})
export default reducer